<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <table border="1" width = "300" height = "200" align = "center" cellspacing = "0" cellpadding = "10">
        <!-- tr:代表行,一个tr代表的是一行 -->
        <!-- caption 第一行表头信息 -->
        <caption>个人信息</caption>
        <tr>
            <!-- th标签：默认是让文本加粗和居中显示 -->
            <th>姓名</th>
            <th>年龄</th>
            <th>性别</th>
        </td>

        <!-- 第二行数据 -->
        <tr>
            <td>老王</td>
            <td>23</td>
            <td>男</td>
        </tr>

        <!-- 第三行数据 -->
        <td>老张</td>
        <td>25</td>
        <td>女</td>
    </table>
</body>
</html>